package com.baseframe.topic.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 能测成绩表
 * @TableName sns_test_topic_user_result
 */
@TableName(value ="sns_test_topic_user_result")
@Data
public class SnsTestTopicUserResult implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 用户主键
     */
    private Long userId;

    /**
     * 能测主键
     */
    private Long topicId;

    /**
     * 成绩(获取的积分)
     */
    private Integer result;

    /**
     * 是否到账
     */
    private Integer toAccount;

    /**
     * 
     */
    private Integer isDeleted;

    /**
     * 
     */
    @TableField(fill = FieldFill.INSERT)
    private Long createBy;

    /**
     * 
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateBy;

    /**
     * 
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}